//
//  Singleton.h
//  u76ho
//
//  Created by m-air-01 on 16/1/7.
//  Copyright © 2016年 LV. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

//全局窗口
UIKIT_EXTERN  UIWindow * RootWindow;

@class Singleton;
@interface Singleton : NSObject
@property (nonatomic,strong) NSString * duty;/**<用户的职位*/

@property (nonatomic,strong) NSString * code;/**<用户的唯一标识*/
@property (nonatomic,strong) NSString * yqcode;/**<企业的唯一标识*/
@property (nonatomic,strong) NSString * mobile;/**<用户的手机号>*/
@property (nonatomic,strong) NSString * cid;/**<推送用的cid>*/
@property (nonatomic,strong) NSString * password;/**<用户密码>*/
@property (nonatomic,strong) NSDictionary * userInformation;/**<用户的登录信息*/
@property (nonatomic,strong) NSString * token;
//   token = e03d741af175dd181027f2d8b3c8365059503092;

/**
 *  @brief  保存用户信息到沙盒路径中
 */

- (void)saveUserInformation;
/**
 *  @brief  读取用户沙河中的信息
 */
- (void)readUserInformation;
+(instancetype)share;

+(void)alerMessage:(NSString *)message img:(NSString *)imageNameStr;

+(void)alerTwoBtnMessage:(NSString *)message content:(NSString *)text leftBtnName:(NSString *)leftBtn rightBtnName:(NSString *)rightBtn;
+(void)alerOneBtnMessage:(NSString *)message content:(NSString *)text btnName:(NSString *)btnStr;
+(void)alercreateAlumeMessage:(NSString *)message content:(NSString *)text btnName:(NSString *)btnStr;
+(void)alertCalendar;
+(void)alerSendMessage:(NSString *)message;
@end
